import { http } from '/@/utils/http';

import type { PinCommentListParams, PinCommentListResult } from './model/pinModel';

export function queryPinCommentsList(params: PinCommentListParams) {
  return http.post<PinCommentListResult>({
    url: '/api/app/hotspot/comments/list',
    params: {
      ...params,
      type: 0,
    },
  });
}
